package com.feng.spring52.service;

import com.alibaba.druid.filter.AutoLoad;
import com.feng.spring52.dao.BookDao;
import com.feng.spring52.entity.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookService {
    @Autowired
    private BookDao bookDao;

    public void test1(){
        bookDao.add(new Book());
    }
}
